#include "comm.hpp"

int main()
{

    int shmid = createShm(1024) ; 
    sleep(1) ; // ???
    char* addr = (char*)shmat(shmid, nullptr, 0); // 0 ???
    sleep(2) ; // ??? 
    int i = 0 ; 
    while (i < 26)
    {
        sleep(1);
        printf("client %s\n", addr);
        i++ ;
    }

    shmdt(addr); 
    sleep(1); //????
    destroyShm(shmid) ; 
    return 0 ; 
    
}